
layui.use(['element'], function () {
    var $ = layui.jquery;
    $(document).on('input propertychange', '.layui-input selected', function (e) {
        console.info("进入输入事件");
        var form = $(this).parents("form");
        var serializeArray = form.serializeArray();
        $.post(this.src, serializeArray, function (result) {
            $.fn.Messager(result);
        });
    });
    $('.layui-layer-loading').hide();
});